package com.linran.gmail.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.linran.gmail.bean.UserAddress;
import com.linran.gmail.service.UserService;

import java.util.Arrays;
import java.util.List;

//@Service(interfaceName = "myUserService")
@Service
public class UserServiceImpl implements UserService {
    @Override
    public List<UserAddress> getUserAddressList(String userId) {
        UserAddress userAddressOne = new UserAddress(1, "北京市昌平区宏福科技园综合楼3层", "upc0005", "李老师", "18400000000", "Y");
        UserAddress userAddressTwo = new UserAddress(2, "深圳市宝安区西部硅谷大厦B座3层", "cid0003", "王老师", "18411111111", "N");
        return Arrays.asList(userAddressOne, userAddressTwo);
    }
}
